Skip to content

Conversation

@RulaKhaled
Copy link
Member

@RulaKhaled RulaKhaled commented Oct 31, 2025

Fixes ERR_REQUIRE_ESM error in React Router 7 E2E tests by pinning p-map to v4 which supports CommonJS, resolving incompatibility with @react-router/dev v7.5+ that uses require() instead of dynamic import().

React Router should fix this upstream, this is a workaround now.

@RulaKhaled RulaKhaled marked this pull request as ready for review October 31, 2025 13:20
Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's unblock us for now but we should keep an eye on this and revert the pin when RR fixes this upstream

@RulaKhaled RulaKhaled merged commit 4190094 into develop Oct 31, 2025
34 checks passed
@RulaKhaled RulaKhaled deleted the fix-tests branch October 31, 2025 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants